package com.yuyou.fn.analyze.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 *
 * 
 *
 */
@TableName(value = "main_account_target")
public class MainAccountTarget implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<MainAccountTarget> createExample(){
		return new Example<MainAccountTarget>(MainAccountTarget.class);
	}

	/**  */
	@TableId(value = "main_account_target_id")
	private Long mainAccountTargetId;

	/**  */
	@TableField(value = "main_account_id")
	private Long mainAccountId;

	@TableField(exist = false)
	private String name;

	/**  */
	private String year;



	@TableField(value = "target_type")
	private String targetType;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "period_id")
	private Long periodId;

	@TableField(value = "period_no")
	private Integer periodNo;


	@TableField(value = "group_id")
	private Long groupId;

	@TableField(value = "target_num")
	private String targetNum;

	private Integer type;

	public Long getMainAccountTargetId() {
		return this.mainAccountTargetId;
	}

	public void setMainAccountTargetId(Long mainAccountTargetId) {
		this.mainAccountTargetId = mainAccountTargetId;
	}

	public Long getMainAccountId() {
		return this.mainAccountId;
	}

	public void setMainAccountId(Long mainAccountId) {
		this.mainAccountId = mainAccountId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getYear() {
		return this.year;
	}

	public void setYear(String year) {
		this.year = year;
	}


	public String getTargetType() {
		return targetType;
	}

	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getPeriodId() {
		return periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public Integer getPeriodNo() {
		return periodNo;
	}

	public void setPeriodNo(Integer periodNo) {
		this.periodNo = periodNo;
	}


	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public String getTargetNum() {
		return targetNum;
	}

	public void setTargetNum(String targetNum) {
		this.targetNum = targetNum;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
